from datetime import datetime
from typing import Optional
from pydantic import BaseModel, ConfigDict


class FeeRiskSchema(BaseModel):
    """费率"""
    g_min: Optional[int] = 0
    g_mode1_max: int
    g_mode2_max: int
    g_mode1_min: int
    g_mode2_min: int
    #fee_mode: Optional[int] = 1
    #up_lvl_mode1_fee: Optional[int]
    #up_lvl_mode2_fee: Optional[int] 
    #down_lvl_mode1_fee: Optional[int] 
    #down_lvl_mode2_fee: Optional[int] 
    #up_lvl_fee: Optional[int] 
    #down_lvl_fee: Optional[int] 
